package com.easyCms.base.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

@Entity
@Table(name = "app_identity")
public class AppIdentity extends BaseEntity {
	/**
	 * 用户唯一标识
	 */
	@Column(name = "hami_code")
	private String hamiCode;
	/**
	 * 登录名
	 */
	@Column(name = "login_name")
	private String loginName;

	/**
	 * 登录密码
	 */
	@Column(name = "password")
	private String password;

	/**
	 * SALT
	 */
	private String salt;

	/**
	 * 生效时间
	 */
	@Column(name = "valid_date")
	private Date validDate;

	/**
	 * 失效时间
	 */
	@Column(name = "expire_date")
	private Date expireDate;

	public String getHamiCode() {
		return hamiCode;
	}

	public void setHamiCode(String hamiCode) {
		this.hamiCode = hamiCode;
	}

	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getSalt() {
		return salt;
	}

	public void setSalt(String salt) {
		this.salt = salt;
	}

	public Date getValidDate() {
		return validDate;
	}

	public void setValidDate(Date validDate) {
		this.validDate = validDate;
	}

	public Date getExpireDate() {
		return expireDate;
	}

	public void setExpireDate(Date expireDate) {
		this.expireDate = expireDate;
	}

}
